//引入react
import React from 'react'
//引入样式表
import '../../asset/css/home/flyBall.css'
//创建组件
class FlyBall extends React.Component{
    render(){
        let {show}=this.props
        return(
            <div className='flyBall' style={show?{display:'block'}:{display:'none'}} >
                <img src={require('../../asset/icon/flyBall.png')} alt=""/>
            </div>
        )
    }
}
//暴露出去
export default FlyBall